package cn.itcast.nems.order.dao.entity;

import cn.itcast.nems.common.entity.LongIdEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 离线支付单-行
 * </p>
 *
 * @author liyong
 * @since 2023-08-31
 */
@Getter
@Setter
@TableName("e2_offline_payment_line")
public class OfflinePaymentLine extends LongIdEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 离线支付单ID
     */
    private Integer offlinePaymentId;

    /**
     * 离线支付金额。单位：分
     */
    private Integer amount;

    /**
     * 离线支付时间
     */
    private LocalDateTime paymentDatetime;

    /**
     * 。单位：分支付方式代码
     */
    private String paymentMehtodCode;

    /**
     * 。单位：分支付方式名称
     */
    private String paymentMehtodName;

    /**
     * 备注
     */
    private String description;
}
